<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/page/common/public.jspf"%>
<script src="${path }/js/member/modifyToPartner.js?v=${v}"></script>
<script src="${path }/js/member/open.js?v=${v}"></script>
<script src="${path }/js/member/bindCard.js?v=${v}"></script>
<%
	String param_menuId = request.getParameter("type");
	String[] a_string = new String[] {"index", "wytz", "wyrz", "xxzx", "zllm", "aqbz","fwzx","about"};
	if (param_menuId == null || "".equals(param_menuId)) {
		param_menuId = "";
	} else {
		boolean flag = false;
		for (String s : a_string) {
			if (s.equals(param_menuId)) {
				flag = true;
			}
		}
		if (!flag) {
			param_menuId = "";
		}
	}
%>

<header class="m_header clearfix">
        <div class="top">
            <div class="w1100">
                <div class="fl color_red public"></div>
<c:if test="${!empty usersession}">        
<ul class="fr nav">
    <li>您好，<a href="${path }/memberCenter/index.htm">${usersession.user.userName }</a></li>
    <li class=""><a href="${path }/page/account/message/">消息</a></li>
    <li><a class="border_l pl20" target="_blank" href="">新手指南</a></li>
    <li><a href="${path }/loginout.htm">退出</a></li>
</ul>
</c:if>
<c:if test="${empty usersession}">
<ul class="fr nav">
    <li>您好，请<a href="${path }/page/login/login.jsp">登录</a></li>
    <li><a class="color_green" href="${path }/page/register/step_one_register.jsp">免费注册</a></li>
    <li><a class="border_l pl20" target="_blank" href="">新手指南</a></li>
</ul>
</c:if>
            </div>
        </div>
        <div class="clearfix bg_whtie">
            <div class="w1100">
            <a class="logo" href="/"></a>

            <div class="my_account">
                <div class="drop_t"></div>
                <div class="drop_b">
                    <a href="${path }/memberCenter/index.htm"><i class="ac_icon ml15"></i>我的账户<i class="icon_arrow ml5"></i></a>
                    <ul>
                       <li ><a href="${path }/investInfo/myInvestList.htm?curPage=1&investInfoStatus=SUCESS" target="">已投项目</a></li>
                       <li ><a href="" target="">回款计划</a></li>
                       <li ><a href="${path }/memberCenter/myAccountLogList.htm" target="">资金记录</a></li>
                       <li ><a href="" target="">邀请返利</a></li>
                       <li class="nobor"><a href="" target="">我的红包</a></li>
                    </ul>
             </div>
            </div>
            <nav>
                <ul>
                <li <%=param_menuId.equals("index") ? "class=\"select\"" : ""%>><a href="${path}/index.htm"> 首页 </a></li>
                <li <%=param_menuId.equals("wytz") ? "class=\"select\"" : ""%>><a href="${path}/borrowInfo/list.htm"> P2P理财 </a></li> 
                <li <%=param_menuId.equals("zllm") ? "class=\"select\"" : ""%>><a href="${path}/page/app">手机客户端</a></li>
                </ul>
            </nav>
        </div>
        </div>
</header>
<c:if test="${!empty usersession}">
<script>
$(document).ready(function(){
	$('.drop_b').mouseover(function() {
	$('.my_account').addClass("select")
	});
	
	$('.drop_b').mouseout(function() {
	$(".my_account").removeClass("select")
	});
});
</script>
</c:if>
